package de.tsystems.jsfdict.api.impl;

import de.tsystems.jsfdict.model.Language;
import de.tsystems.jsfdict.model.Translation;
import de.tsystems.jsfdict.model.Word;

import java.util.List;

public interface TranslationDao extends Dao<Translation> {
    Class<Translation> getEntityClass();

    List<Word> getTranslationWords(Word word, Language language);
    List<Word> getTranslationWords(Word word);

    boolean isTranslationExist(Word left, Word right);

    Translation create(Word left, Word right);

}
